package org.stwy.bills;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.stwy.lease.contract.ContractEntity;

import com.rap.common.annotation.MetaData;
import com.rap.common.entity.BaseEntity;

@MetaData(value = "水电费、物业管理费和其他费用")
@Entity
@Table(name = "stwy_bills")
@DynamicInsert
@DynamicUpdate
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class BillsEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@MetaData(value = "年月",comments="" )
	@Column(nullable = false,length=10)
	private String yearMonth;
	
	//物业名称
	private String property;
	
	@MetaData(value = "合同",comments="" )
	@ManyToOne
	@JoinColumn(name = "contractId")
	private ContractEntity contract;
	
	private String org1;
	
	private String bank1;
	
	private String bankNum1;
	
	private String phone1;
	
	private String org2;
	
	private String bankNum2;
	
	private String area;
	
	//水电费
	private Double row1Col1;
	private Double row1Col2;
	private Double row1Col3;
	private Double row1Col4;
	private Double row1Col5;
	private Double row1Col6;
	private Double row1Col7;
	
	private Double row2Col1;
	private Double row2Col2;
	private Double row2Col3;
	private Double row2Col4;
	private Double row2Col5;
	private Double row2Col6;
	private Double row2Col7;
	
	private Double row3Col1;
	private Double row3Col2;
	private Double row3Col3;
	private Double row3Col4;
	private Double row3Col5;
	private Double row3Col6;
	private Double row3Col7;
	
	private Double row4Col1;
	private Double row4Col2;
	private Double row4Col3;
	private Double row4Col4;
	private Double row4Col5;
	private Double row4Col6;
	private Double row4Col7;
	
	//租金、管理费及其他
	private Double row5Col1;
	private Double row5Col2;
	private Double row5Col3;
	private Double row5Col4;
	private Double row5Col5;
	private Double row5Col6;
	private Double row5Col7;
	private Double row5Col8;
	
	private String row6Col1;
	private String row6Col2;
	private String row6Col3;
	private String row6Col4;
	private String row6Col5;
	private String row6Col6;
	private String row6Col7;
	private String row6Col8;
	
	private Double total;
	
	@Column(length=1000)
	private String remark;

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public ContractEntity getContract() {
		return contract;
	}

	public void setContract(ContractEntity contract) {
		this.contract = contract;
	}

	public String getOrg1() {
		return org1;
	}

	public void setOrg1(String org1) {
		this.org1 = org1;
	}

	public String getBank1() {
		return bank1;
	}

	public void setBank1(String bank1) {
		this.bank1 = bank1;
	}

	public String getBankNum1() {
		return bankNum1;
	}

	public void setBankNum1(String bankNum1) {
		this.bankNum1 = bankNum1;
	}

	public String getPhone1() {
		return phone1;
	}

	public void setPhone1(String phone1) {
		this.phone1 = phone1;
	}

	public String getOrg2() {
		return org2;
	}

	public void setOrg2(String org2) {
		this.org2 = org2;
	}

	public String getBankNum2() {
		return bankNum2;
	}

	public void setBankNum2(String bankNum2) {
		this.bankNum2 = bankNum2;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public Double getRow1Col1() {
		return row1Col1;
	}

	public void setRow1Col1(Double row1Col1) {
		this.row1Col1 = row1Col1;
	}

	public Double getRow1Col2() {
		return row1Col2;
	}

	public void setRow1Col2(Double row1Col2) {
		this.row1Col2 = row1Col2;
	}

	public Double getRow1Col3() {
		return row1Col3;
	}

	public void setRow1Col3(Double row1Col3) {
		this.row1Col3 = row1Col3;
	}

	public Double getRow1Col4() {
		return row1Col4;
	}

	public void setRow1Col4(Double row1Col4) {
		this.row1Col4 = row1Col4;
	}

	public Double getRow1Col5() {
		return row1Col5;
	}

	public void setRow1Col5(Double row1Col5) {
		this.row1Col5 = row1Col5;
	}

	public Double getRow1Col6() {
		return row1Col6;
	}

	public void setRow1Col6(Double row1Col6) {
		this.row1Col6 = row1Col6;
	}

	public Double getRow1Col7() {
		return row1Col7;
	}

	public void setRow1Col7(Double row1Col7) {
		this.row1Col7 = row1Col7;
	}

	public Double getRow2Col1() {
		return row2Col1;
	}

	public void setRow2Col1(Double row2Col1) {
		this.row2Col1 = row2Col1;
	}

	public Double getRow2Col2() {
		return row2Col2;
	}

	public void setRow2Col2(Double row2Col2) {
		this.row2Col2 = row2Col2;
	}

	public Double getRow2Col3() {
		return row2Col3;
	}

	public void setRow2Col3(Double row2Col3) {
		this.row2Col3 = row2Col3;
	}

	public Double getRow2Col4() {
		return row2Col4;
	}

	public void setRow2Col4(Double row2Col4) {
		this.row2Col4 = row2Col4;
	}

	public Double getRow2Col5() {
		return row2Col5;
	}

	public void setRow2Col5(Double row2Col5) {
		this.row2Col5 = row2Col5;
	}

	public Double getRow2Col6() {
		return row2Col6;
	}

	public void setRow2Col6(Double row2Col6) {
		this.row2Col6 = row2Col6;
	}

	public Double getRow2Col7() {
		return row2Col7;
	}

	public void setRow2Col7(Double row2Col7) {
		this.row2Col7 = row2Col7;
	}

	public Double getRow3Col1() {
		return row3Col1;
	}

	public void setRow3Col1(Double row3Col1) {
		this.row3Col1 = row3Col1;
	}

	public Double getRow3Col2() {
		return row3Col2;
	}

	public void setRow3Col2(Double row3Col2) {
		this.row3Col2 = row3Col2;
	}

	public Double getRow3Col3() {
		return row3Col3;
	}

	public void setRow3Col3(Double row3Col3) {
		this.row3Col3 = row3Col3;
	}

	public Double getRow3Col4() {
		return row3Col4;
	}

	public void setRow3Col4(Double row3Col4) {
		this.row3Col4 = row3Col4;
	}

	public Double getRow3Col5() {
		return row3Col5;
	}

	public void setRow3Col5(Double row3Col5) {
		this.row3Col5 = row3Col5;
	}

	public Double getRow3Col6() {
		return row3Col6;
	}

	public void setRow3Col6(Double row3Col6) {
		this.row3Col6 = row3Col6;
	}

	public Double getRow3Col7() {
		return row3Col7;
	}

	public void setRow3Col7(Double row3Col7) {
		this.row3Col7 = row3Col7;
	}

	public Double getRow4Col1() {
		return row4Col1;
	}

	public void setRow4Col1(Double row4Col1) {
		this.row4Col1 = row4Col1;
	}

	public Double getRow4Col2() {
		return row4Col2;
	}

	public void setRow4Col2(Double row4Col2) {
		this.row4Col2 = row4Col2;
	}

	public Double getRow4Col3() {
		return row4Col3;
	}

	public void setRow4Col3(Double row4Col3) {
		this.row4Col3 = row4Col3;
	}

	public Double getRow4Col4() {
		return row4Col4;
	}

	public void setRow4Col4(Double row4Col4) {
		this.row4Col4 = row4Col4;
	}

	public Double getRow4Col5() {
		return row4Col5;
	}

	public void setRow4Col5(Double row4Col5) {
		this.row4Col5 = row4Col5;
	}

	public Double getRow4Col6() {
		return row4Col6;
	}

	public void setRow4Col6(Double row4Col6) {
		this.row4Col6 = row4Col6;
	}

	public Double getRow4Col7() {
		return row4Col7;
	}

	public void setRow4Col7(Double row4Col7) {
		this.row4Col7 = row4Col7;
	}

	public Double getRow5Col1() {
		return row5Col1;
	}

	public void setRow5Col1(Double row5Col1) {
		this.row5Col1 = row5Col1;
	}

	public Double getRow5Col2() {
		return row5Col2;
	}

	public void setRow5Col2(Double row5Col2) {
		this.row5Col2 = row5Col2;
	}

	public Double getRow5Col3() {
		return row5Col3;
	}

	public void setRow5Col3(Double row5Col3) {
		this.row5Col3 = row5Col3;
	}

	public Double getRow5Col4() {
		return row5Col4;
	}

	public void setRow5Col4(Double row5Col4) {
		this.row5Col4 = row5Col4;
	}

	public Double getRow5Col5() {
		return row5Col5;
	}

	public void setRow5Col5(Double row5Col5) {
		this.row5Col5 = row5Col5;
	}

	public Double getRow5Col6() {
		return row5Col6;
	}

	public void setRow5Col6(Double row5Col6) {
		this.row5Col6 = row5Col6;
	}

	public Double getRow5Col7() {
		return row5Col7;
	}

	public void setRow5Col7(Double row5Col7) {
		this.row5Col7 = row5Col7;
	}

	public Double getRow5Col8() {
		return row5Col8;
	}

	public void setRow5Col8(Double row5Col8) {
		this.row5Col8 = row5Col8;
	}

	public String getRow6Col1() {
		return row6Col1;
	}

	public void setRow6Col1(String row6Col1) {
		this.row6Col1 = row6Col1;
	}

	public String getRow6Col2() {
		return row6Col2;
	}

	public void setRow6Col2(String row6Col2) {
		this.row6Col2 = row6Col2;
	}

	public String getRow6Col3() {
		return row6Col3;
	}

	public void setRow6Col3(String row6Col3) {
		this.row6Col3 = row6Col3;
	}

	public String getRow6Col4() {
		return row6Col4;
	}

	public void setRow6Col4(String row6Col4) {
		this.row6Col4 = row6Col4;
	}

	public String getRow6Col5() {
		return row6Col5;
	}

	public void setRow6Col5(String row6Col5) {
		this.row6Col5 = row6Col5;
	}

	public String getRow6Col6() {
		return row6Col6;
	}

	public void setRow6Col6(String row6Col6) {
		this.row6Col6 = row6Col6;
	}

	public String getRow6Col7() {
		return row6Col7;
	}

	public void setRow6Col7(String row6Col7) {
		this.row6Col7 = row6Col7;
	}

	public String getRow6Col8() {
		return row6Col8;
	}

	public void setRow6Col8(String row6Col8) {
		this.row6Col8 = row6Col8;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property;
	}
}
